package com.xjrsoft.module.erpModel.caseErpBom.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class UpdateCaseErpBomDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    @ApiModelProperty("父级id")
    private Long parentId;

    @ApiModelProperty("层级")
    @JsonProperty("level")
    private String bomLevel;

    @ApiModelProperty("物料外键id")
    private Long materialId;

    @ApiModelProperty("物料编码")
    private String code;

    @ApiModelProperty("物料名称")
    private String name;

    @ApiModelProperty("规格型号")
    private String model;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("物料类别名称")
    private String  typeName;

    @ApiModelProperty("物料属性名称")
    private String propertyName;

    @ApiModelProperty("子级物料数量")
    private BigDecimal count;

    @ApiModelProperty("备注")
    private String remark;

}
